package thread;

public class Runnable1  implements Runnable{
	private int i ;
	public void run() {
		 for (int i = 0; i < 10; i++) {
			 add(i);
			  System.out.println("thread:" + Thread.currentThread().getId() +" i:" +i);
		}
		
	}
	
	public   void add(int i){
		 i++;
	}
	
}
